package com.xhwl.data.pojo.dto.personal;

import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import com.xhwl.common.dto.cent.sdata.PermissionGroupDTO;
import com.xhwl.common.pojo.cent.sdata.PermissionGroup;
import com.xhwl.common.utils.excel.ExcelColumn;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: luyi
 * @Description:
 * @Date: Create in 11:09 2022/2/15
 */
@Data
public class StaffExcelDTO {

    @ExcelColumn(name = "姓名", col = 0, value = "name")
    private String name;

    @ExcelColumn(name = "手机号", col = 1, value = "phone")
    private String phone;

    @ExcelColumn(name = "密码", col = 2, value = "password")
    private String password;

    @ExcelColumn(name = "用户名", col = 3, value = "loginName")
    private String loginName;

    @ExcelColumn(name = "身份证号码", col = 4, value = "idCard")
    private String idCard;

    @ExcelColumn(name = "性别（男/女）", col = 5, value = "sex")
    private String sex;

    @ExcelColumn(name = "邮箱", col = 6, value = "email")
    private String email;

    @ExcelColumn(name = "组织", col = 7, value = "organization")
    private String organization;

    @ExcelColumn(name = "岗位", col = 8, value = "position")
    private String position;

    @ExcelColumn(name = "员工类型", col = 9, value = "staffTypeName")
    private String staffTypeName;

    @ExcelColumn(name = "员工状态", col = 10, value = "staffStateName")
    private String staffStateName;

    @ExcelColumn(name = "项目权限", col = 11, value = "projects")
    private String projects;

    @ExcelColumn(name = "选择角色", col = 12, value = "roles")
    private String roles;

    @ExcelColumn(name = "工号", value = "workCode")
    private String workCode;

    @ExcelColumn(name = "政治面貌", value = "politicsStatusName")
    private String politicsStatusName;

    @ExcelColumn(name = "民族", value = "nationName")
    private String nationName;

    @ExcelColumn(name = "文化程度", value = "educationalLevelName")
    private String educationalLevelName;

    @ExcelColumn(name = "生日", value = "birthday")
    private String birthday;

    @ExcelColumn(name = "业务类型", value = "businessName")
    private String businessName;

    @ExcelColumn(name = "入职时间", value = "joinTime")
    private String joinTime;

    @ExcelColumn(name = "参加工作时间",value = "workingTime")
    private String workingTime;

    @ExcelColumn(name = "直接上级", value = "higherUpName")
    private String higherUpName;

    @ExcelColumn(name = "空间权限", value = "spaces")
    private String spaces;

    @ExcelColumn(name = "组织编码", value = "orgCode")
    private String orgCode;

    private List<String> entRoleNames;

    private List<String> proRoleName;

    private List<Integer> roleIds;

    private List<PermissionGroupDTO> permissionGroupDTOS;
}
